package pers.cocoadel.springcloud.serveice.impl;

import org.springframework.stereotype.Component;
import pers.cocoadel.springcloud.entities.CommonResult;
import pers.cocoadel.springcloud.entities.Payment;
import pers.cocoadel.springcloud.serveice.PaymentService;

@Component(value = "paymentFallBackImpl")
public class PaymentFallBackImpl implements PaymentService
{

    @Override
    public CommonResult<Payment> paymentSql(Integer id)
    {
        return new CommonResult<>(444,"服务器异常，/(ㄒoㄒ)/~~",null);
    }
}
